//
//  SearchCell.m
//  Manager
//
//  Created by 彭凯敏 on 15/8/31.
//  Copyright (c) 2015年 52xiaoluo. All rights reserved.
//

#import "SearchCell.h"

@implementation SearchCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)setRoomInfo:(RoomInfo *)roomInfo
{
    _nameLabel.text = roomInfo.name;
    _statusLabel.text = [NSString stringWithFormat:@"%@",[UIViewCategory roomStatusWith:roomInfo]];
    
}

@end
